package com.ruoyi.wechat.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息对象 c_message
 * 
 * @author mu
 * @date 2024-10-13
 */
public class Message extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 消息Id */
    private String messageId;

    /** 营地Id */
    @Excel(name = "营地Id")
    private String campId;

    /** 用户Id */
    @Excel(name = "用户Id")
    private String userId;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 审核状态:接收审核状态 */
    private String approve;
    public String getApprove() {
        return approve;
    }
    public void setApprove(String approve) {
        this.approve = approve;
    }

    /** 营地景点Id */
    private String scenicId;
    public String getScenicId() {
        return scenicId;
    }
    public void setScenicId(String scenicId) {
        this.scenicId = scenicId;
    }

    /** 活动Id */
    private String activityId;
    public String getActivityId() {
        return activityId;
    }
    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    /** 项目Id */
    private String projectId;
    public String getProjectId() {
        return projectId;
    }
    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    /** 用户名称 */
    private String username;
    /** 营地名称 */
    private String campName;
    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getCampName() {
        return campName;
    }
    public void setCampName(String campName) {
        this.campName = campName;
    }

    public void setMessageId(String messageId)
    {
        this.messageId = messageId;
    }

    public String getMessageId() 
    {
        return messageId;
    }
    public void setCampId(String campId) 
    {
        this.campId = campId;
    }

    public String getCampId() 
    {
        return campId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("messageId", getMessageId())
            .append("campId", getCampId())
            .append("userId", getUserId())
            .append("type", getType())
            .append("content", getContent())
            .append("releaseTime", getReleaseTime())
            .toString();
    }
}
